' //WIN31 API Function to bar accidents in development mode!//
' //Alised so as not to clash with other declares in this project//
Declare Function FindIt Lib "User" Alias "FindWindow" (ByVal lpClassName As String, ByVal lpWindowName As String) As Integer
' //*************** Declares for the API in GBLIB2.EXE *************//
' //This function is a crude string -> number algorithm//
' //It can be used to make a checksum of the registration information//
Declare Function MakeAKey Lib "GBLIB2.EXE" (ByVal AString As String) As Long
Declare Sub Encryptit Lib "GBLIB2.EXE" (ByVal AString As String, AStringLen As Integer)
' //The next three functions must NOT be used in development mode//
' //on this project, because they are designed to//
' //modify this application's EXE file directly, and until it has been//
' //compiled, there is no EXE file to modify!
Declare Function WriteRegData Lib "GBLIB2.EXE" (ByVal sz_Name As String, ByVal sz_Org As String, ByVal sz_EXEPath As String, ByVal MyPhrase As String) As Integer
Declare Function ReadRegData Lib "GBLIB2.EXE" (ByVal sz_EXEPath As String, ByVal sz_Name As String, ByVal sz_Org As String, ByVal YMD As String, NameLen As Integer, OrgLen As Integer) As Integer
Declare Function CheckRegistration Lib "GBLIB2.EXE" (ByVal sz_EXEPath As String) As Integer
Declare Function WriteRegDataToINI Lib "GBLIB2.EXE" (ByVal sz_Name As String, ByVal sz_Org As String, ByVal sz_EXEPath As String) As Integer
Declare Function ReadRegDataFromINI Lib "GBLIB2.EXE" (ByVal sz_EXEPath As String, ByVal sz_Name As String, ByVal sz_Org As String, NameLen As Integer, OrgLen As Integer) As Integer